package com.ruoyi.teacher.service;

import com.ruoyi.teacher.domain.SysCollege;
import com.ruoyi.teacher.domain.SysProfession;

import java.util.List;

/**
 * sysProfessionService接口
 * 
 * @author ruoyi
 * @date 2022-01-13
 */
public interface ISysProfessionService
{
    /**
     * 查询sysProfession
     * 
     * @param id sysProfession主键
     * @return sysProfession
     */
    public SysProfession selectSysProfessionById(Long id);

    /**
     * 查询sysProfession列表
     * 
     * @param sysProfession sysProfession
     * @return sysProfession集合
     */
    public List<SysProfession> selectSysProfessionList(SysProfession sysProfession);

    /**
     * 新增sysProfession
     * 
     * @param sysProfession sysProfession
     * @return 结果
     */
    public int insertSysProfession(SysProfession sysProfession);

    /**
     * 修改sysProfession
     * 
     * @param sysProfession sysProfession
     * @return 结果
     */
    public int updateSysProfession(SysProfession sysProfession);

    /**
     * 批量删除sysProfession
     * 
     * @param ids 需要删除的sysProfession主键集合
     * @return 结果
     */
    public int deleteSysProfessionByIds(String ids);

    /**
     * 删除sysProfession信息
     * 
     * @param id sysProfession主键
     * @return 结果
     */
    public int deleteSysProfessionById(Long id);

    public List<SysProfession> selectProfessionAll();

    public List<SysProfession> selectProfessionsByProfessionId(Long professionId);

}
